﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace C_Sharp_Example09
{

    class Program
    {
        public class MaximumFinder
        {
            public int Determine(int x, int y)
            {
                if (x > y)
                    return x;
                else
                    return y;
            }
        }
        static void Main(string[] args)
        {
            MaximumFinder maxFinder = new MaximumFinder();
            int result = maxFinder.Determine(5, 7);
            Console.WriteLine("Maximum is: " + result);
        }
    }
}
